#ifndef LOGPROC_H
#define LOGPROC_H

#pragma once

#define LOG_TEXT_LENGTH	80
#define LOG_TEXT_LINE	30

extern void (*LogAdd)(char * szLog, ...);
extern void (*LogAddC)(BYTE, char *, ...);
extern void (*LogAddTD)(char * szLog, ...);
extern void (*LogAddHeadHex)(char *, char *, int);
extern void (*LogTextPaint)(HWND);
extern void (*LogAddL)(char * szLog, ...);

void LogInit(int logprint);
void LogDataSet();
int LogDateChange();
void LogTextAdd(BYTE type, char * msg, int len);
void LogAddFuncVoid(char * szLog, ...);
void LogAddTimeDateVoid(char * szLog, ...);
void LogAddFunc(char * szLog, ...);
void LogAddFuncColor(BYTE Color, char * szLog, ...);
void LogAddLocalFunc(char * szLog, ...);
void LogAddLocalFuncVoid(char * szLog, ...);
void LogAddTimeDateFunc(char * szLog, ...);
void LogAddHeadHexFuncVoid(char * str, char * data, int len);
void LogAddHeadHexFunc(int Type, char * data, int len);
void LogAddStrHexFunc(char * str, char * data, int len);
void LogTextClear();
void LogTextPaintProcVoid(HWND hWnd);
void LogTextPaintProc(HWND hWnd);
int LogGetFileName();
void LogClose();
void MsgBox(char * szlog, ...);

#endif